#!/usr/bin/python3
# -*- coding:UTF-8 -*-

#
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <IFRFSX@protonmail.com> wrote this file.  As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return.   IFRFSX.
# ----------------------------------------------------------------------------
#

def fangmj(fm1, fm2):
    fmend = fm1 * fm2
    return fmend

def fangtj(ft1, ft2, ft3):
    ftend = ft1 * ft2 * ft3
    return ftend

def fangbmj(fb1, fb2, fb3):
    fbend = 2*(fb1 * fb2) + 2*(fb1 * fb3) + 2*(fb2 * fb3)
    return fbend

def yuan(r):
    mj = 3.14*(r**2)
    bmj = 4*3.14*(r**2)
    tj = (4/3)*3.14*(r**3)

    return mj, bmj, tj
